package com.CST.mapper.cst.cb;

import com.CST.dto.cb.DateDTO;
import com.CST.dto.cb.InSourceDTO;
import com.CST.entity.cb.EtlInpatientIncome;
import com.CST.vo.cb.InComeInSourceVO;
import com.CST.vo.cb.InSourceVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2022-08-29
 */
@Repository
public interface EtlInpatientIncomeMapper extends BaseMapper<EtlInpatientIncome> {

    List<InSourceVO> getHospitalizationList(InSourceDTO entity);



    List<InComeInSourceVO> getInComeListDetail(@Param("dateDTO") DateDTO dateDTO);

    List<InComeInSourceVO> getInComeListDetailByPatientNo(@Param("dateDTO") DateDTO dateDTO);
}
